<!--
 * @Description: 
 * @Author: xjlzs
 * @Date: 2021-10-15 13:46:49
 * @LastEditTime: 2021-10-15 16:38:33
 * @LastEditors: xjlzs
-->
<template>
    <div>
        <span @click="gobPost()">调用gob的post方法</span>
    </div>
</template>

<script>
import {getShowNameXCityName} from '@/api/index.js'
    export default {
        data() {
            return {
                message: ""
            }
        },
        methods:{
           gobPost(){
               getShowNameXCityName().then((res)=>{
                   console.log(res);
               })
           }
        }
    }
</script>

<style lang="scss" scoped>

</style>